package com.sservice.model.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Purchase implements Serializable {
    private static final long serialVersionUID = 3587394176326873680L;
    private Integer id;

    private String title;

    private Integer goodsId;

    private BigDecimal price;

    private BigDecimal number;

    private String unitPrice;

    private String unit;

    private String qualitySpec;

    private String qualityStandard;

    private String packSpec;

    private String deliverPlace;

    private String remark;

    private String online;

    private BigDecimal ratioSale;

    private BigDecimal ratioManager;

    private Date createAt;

    private Date updateAt;

    private BigDecimal numberCharging;

    private BigDecimal numberCharged;

    private String creator;
    private String payType;
    private int order;

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getNumber() {
        return number;
    }

    public void setNumber(BigDecimal number) {
        this.number = number;
    }

    public String getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(String unitPrice) {
        this.unitPrice = unitPrice == null ? null : unitPrice.trim();
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public String getQualitySpec() {
        return qualitySpec;
    }

    public void setQualitySpec(String qualitySpec) {
        this.qualitySpec = qualitySpec == null ? null : qualitySpec.trim();
    }

    public String getQualityStandard() {
        return qualityStandard;
    }

    public void setQualityStandard(String qualityStandard) {
        this.qualityStandard = qualityStandard == null ? null : qualityStandard.trim();
    }

    public String getPackSpec() {
        return packSpec;
    }

    public void setPackSpec(String packSpec) {
        this.packSpec = packSpec == null ? null : packSpec.trim();
    }

    public String getDeliverPlace() {
        return deliverPlace;
    }

    public void setDeliverPlace(String deliverPlace) {
        this.deliverPlace = deliverPlace == null ? null : deliverPlace.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getOnline() {
        return online;
    }

    public void setOnline(String online) {
        this.online = online == null ? null : online.trim();
    }

    public BigDecimal getRatioSale() {
        return ratioSale;
    }

    public void setRatioSale(BigDecimal ratioSale) {
        this.ratioSale = ratioSale;
    }

    public BigDecimal getRatioManager() {
        return ratioManager;
    }

    public void setRatioManager(BigDecimal ratioManager) {
        this.ratioManager = ratioManager;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    public BigDecimal getNumberCharging() {
        return numberCharging;
    }

    public void setNumberCharging(BigDecimal numberCharging) {
        this.numberCharging = numberCharging;
    }

    public BigDecimal getNumberCharged() {
        return numberCharged;
    }

    public void setNumberCharged(BigDecimal numberCharged) {
        this.numberCharged = numberCharged;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }
}